package com.ef.service;

import java.util.List;

import com.ef.domain.Teacher;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface TeacherService extends BaseService {

	public PaginationSupport<Teacher> findByExample(
			CustomExample<Teacher> example, int startIndex, int pageSize);
	
	public List<Teacher> getAllValidTeachers();
	
	public List<Teacher> getAllValidCLTTeachers();
	
	public void saveOrUpdate(Teacher entity);
	
	public void delete(Teacher entity);
	
	public Teacher findById(Long id);
	
	public List<Teacher> findByName(String name,int max);
	
	public List<Teacher> findByNameInSchool(String name,Long schoolId,int max);
}
